home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
201-225
/
disk_206
/
stereodemo
/
sources
/
stereo.i
< prev
next >
Wrap
Text File
|
1992-05-06
|
16KB
|
749 lines
SUD equ $10
SUL equ $8
AUL equ $4
OCTANT8 equ 24
OCTANT7 equ 4
OCTANT6 equ 12
OCTANT5 equ 28
OCTANT4 equ 20
OCTANT3 equ 8
OCTANT2 equ 0
OCTANT1 equ 16
NT_MSGPORT EQU 4
IDNestCnt EQU $22
BITDEF MEM,PUBLIC,0
BITDEF MEM,CHIP,1
BITDEF MEM,FAST,2
BITDEF MEM,CLEAR,16
BITDEF MEM,LARGEST,17
MEM_BLOCKSIZE EQU 8
MEM_BLOCKMASK EQU (MEM_BLOCKSIZE-1)
STRUCTURE ClipRect,0
LONG cr_Next
LONG cr_Prev
LONG cr_LObs
LONG cr_BitMap
WORD cr_MinX
WORD cr_MinY
WORD cr_MaxX
WORD cr_MaxY
APTR cr__p1
APTR cr__p2
LONG cr_reserved
LABEL cr_SIZEOF
STRUCTURE BitMap,0
WORD bm_BytesPerRow
WORD bm_Rows
BYTE bm_Flags
BYTE bm_Depth
WORD bm_Pad
STRUCT bm_Planes,8*4
LABEL bm_SIZEOF
STRUCTURE Border,0
WORD bd_LeftEdge
WORD bd_TopEdge
UBYTE bd_FrontPen
UBYTE bd_BackPen
UBYTE bd_DrawMode
BYTE bd_Count
APTR bd_XY
APTR bd_NextBorder
LABEL bd_SIZEOF
STRUCTURE Requester,0
APTR rq_OlderRequest
WORD rq_LeftEdge
WORD rq_TopEdge
WORD rq_Width
WORD rq_Height
WORD rq_RelLeft
WORD rq_RelTop
APTR rq_ReqGadget
APTR rq_ReqBorder
APTR rq_ReqText
WORD rq_Flags
UBYTE rq_BackFill
BYTE rq_KludgeFill00
STRUCT rq_ReqCRect,cr_SIZEOF
APTR rq_ReqBMap
STRUCT rq_BitMap,bm_SIZEOF
LABEL rq_SIZEOF
STRUCTURE IntuiText,0
UBYTE it_FrontPen
UBYTE it_BackPen
UBYTE it_DrawMode
BYTE it_KludgeFill00
WORD it_LeftEdge
WORD it_TopEdge
APTR it_ITextFont
APTR it_IText
APTR it_NextText
LABEL it_SIZEOF
STRUCTURE TextAttr,0
APTR ta_Name
UWORD ta_YSize
UBYTE ta_Style
UBYTE ta_Flags
LABEL ta_SIZEOF
V_PFBA EQU $40
V_DUALPF EQU $400
V_HIRES EQU $8000
V_LACE EQU 4
V_HAM EQU $800
V_SPRITES EQU $4000
GENLOCK_VIDEO EQU 2
STRUCTURE ColorMap,0
BYTE cm_Flags
BYTE cm_Type
WORD cm_Count
APTR cm_ColorTable
LABEL cm_SIZEOF
STRUCTURE ViewPort,0
LONG vp_Next
LONG vp_ColorMap
LONG vp_DspIns
LONG vp_SprIns
LONG vp_ClrIns
LONG vp_UCopIns
WORD vp_DWidth
WORD vp_DHeight
WORD vp_DxOffset
WORD vp_DyOffset
WORD vp_Modes
WORD vp_reserved
APTR vp_RasInfo
LABEL vp_SIZEOF
STRUCTURE View,0
LONG v_ViewPort
LONG v_LOFCprList
LONG v_SHFCprList
WORD v_DyOffset
WORD v_DxOffset
WORD v_Modes
LABEL v_SIZEOF
STRUCTURE collTable,0
LONG cp_collPtrs,16
LABEL cp_SIZEOF
STRUCTURE RasInfo,0
APTR ri_Next
LONG ri_BitMap
WORD ri_RxOffset
WORD ri_RyOffset
LABEL ri_SIZEOF
STRUCTURE LN,0
APTR LN_SUCC
APTR LN_PRED
UBYTE LN_TYPE
BYTE LN_PRI
APTR LN_NAME
LABEL LN_SIZE
STRUCTURE ML,LN_SIZE
UWORD ML_NUMENTRIES * The number of ME structures that follow
LABEL ML_ME * where the ME structures begin
LABEL ML_SIZE
STRUCTURE LH,0
APTR LH_HEAD
APTR LH_TAIL
APTR LH_TAILPRED
UBYTE LH_TYPE
UBYTE LH_pad
LABEL LH_SIZE
STRUCTURE MP,LN_SIZE
UBYTE MP_FLAGS
UBYTE MP_SIGBIT * signal bit number
APTR MP_SIGTASK * task to be signalled
STRUCT MP_MSGLIST,LH_SIZE * message linked list
LABEL MP_SIZE
STRUCTURE Layer_Info,0
APTR li_top_layer
APTR li_check_lp
APTR li_obs
STRUCT li_RP_ReplyPort,MP_SIZE
STRUCT li_LockPort,MP_SIZE
BYTE li_Lock
BYTE li_broadcast
BYTE li_locknest
BYTE li_pad
APTR li_Locker
STRUCT li_bytereserved,2
STRUCT li_wordreserved,4
STRUCT li_longreserved,8
LABEL li_SIZEOF
STRUCTURE RastPort,0
LONG rp_Layer
LONG rp_BitMap
LONG rp_AreaPtrn
LONG rp_TmpRas
LONG rp_AreaInfo
LONG rp_GelsInfo
BYTE rp_Mask
BYTE rp_FgPen
BYTE rp_BgPen
BYTE rp_AOLPen
BYTE rp_DrawMode
BYTE rp_AreaPtSz
BYTE rp_Dummy
BYTE rp_linpatcnt
WORD rp_Flags
WORD rp_LinePtrn
WORD rp_cp_x
WORD rp_cp_y
STRUCT rp_minterms,8
WORD rp_PenWidth
WORD rp_PenHeight
LONG rp_Font
BYTE rp_AlgoStyle
BYTE rp_TxFlags
WORD rp_TxHeight
WORD rp_TxWidth
WORD rp_TxBaseline
WORD rp_TxSpacing
APTR rp_RP_User
STRUCT rp_wordreserved,14
STRUCT rp_longreserved,8
STRUCT rp_reserved,8
LABEL rp_SIZEOF
STRUCTURE Window,0
APTR wd_NextWindow
WORD wd_LeftEdge
WORD wd_TopEdge
WORD wd_Width
WORD wd_Height
WORD wd_MouseY
WORD wd_MouseX
WORD wd_MinWidth
WORD wd_MinHeight
WORD wd_MaxWidth
WORD wd_MaxHeight
LONG wd_Flags
APTR wd_MenuStrip
APTR wd_Title
APTR wd_FirstRequest
APTR wd_DMRequest
WORD wd_ReqCount
APTR wd_WScreen
APTR wd_RPort
BYTE wd_BorderLeft
BYTE wd_BorderTop
BYTE wd_BorderRight
BYTE wd_BorderBottom
APTR wd_BorderRPort
APTR wd_FirstGadget
APTR wd_Parent
APTR wd_Descendant
APTR wd_Pointer
BYTE wd_PtrHeight
BYTE wd_PtrWidth
BYTE wd_XOffset
BYTE wd_YOffset
ULONG wd_IDCMPFlags
APTR wd_UserPort
APTR wd_WindowPort
APTR wd_MessageKey
BYTE wd_DetailPen
BYTE wd_BlockPen
APTR wd_CheckMark
APTR wd_ScreenTitle
SHORT wd_GZZMouseX
SHORT wd_GZZMouseY
SHORT wd_GZZWidth
SHORT wd_GZZHeight
APTR wd_ExtData
APTR wd_UserData
LABEL wd_Size
WINDOWSIZING equ $0001
WINDOWDRAG equ $0002
WINDOWDEPTH equ $0004
WINDOWCLOSE equ $0008
SIZEBRIGHT equ $0010
SIZEBBOTTOM equ $0020
REFRESHBITS equ $00C0
SMART_REFRESH equ $0000
SIMPLE_REFRESH equ $0040
SUPER_BITMAP equ $0080
OTHER_REFRESH equ $00C0
BACKDROP equ $0100
REPORTMOUSE equ $0200
GIMMEZEROZERO equ $0400
BORDERLESS equ $0800
ACTIVATE equ $1000
WINDOWACTIVE equ $2000
INREQUEST equ $4000
MENUSTATE equ $8000
RMBTRAP equ $00010000
NOCAREREFRESH equ $00020000
WINDOWREFRESH equ $01000000
WBENCHWINDOW equ $02000000
SUPER_UNUSED equ $FCFC0000
STRUCTURE NewWindow,0
WORD nw_LeftEdge
WORD nw_TopEdge
WORD nw_Width
WORD nw_Height
BYTE nw_DetailPen
BYTE nw_BlockPen
ULONG nw_IDCMPFlags
LONG nw_Flags
APTR nw_FirstGadget
APTR nw_CheckMark
APTR nw_Title
APTR nw_Screen
APTR nw_BitMap
WORD nw_MinWidth
WORD nw_MinHeight
WORD nw_MaxWidth
WORD nw_MaxHeight
WORD nw_Type
LABEL nw_SIZE
STRUCTURE Screen,0
APTR sc_NextScreen
APTR sc_FirstWindow
WORD sc_LeftEdge
WORD sc_TopEdge
WORD sc_Width
WORD sc_Height
WORD sc_MouseY
WORD sc_MouseX
WORD sc_Flags
APTR sc_Title
APTR sc_DefaultTitle
BYTE sc_BarHeight
BYTE sc_BarVBorder
BYTE sc_BarHBorder
BYTE sc_MenuVBorder
BYTE sc_MenuHBorder
BYTE sc_WBorTop
BYTE sc_WBorLeft
BYTE sc_WBorRight
BYTE sc_WBorBottom
BYTE sc_KludgeFill00
APTR sc_Font
STRUCT sc_ViewPort,vp_SIZEOF
STRUCT sc_RastPort,rp_SIZEOF
STRUCT sc_BitMap,bm_SIZEOF
STRUCT sc_LayerInfo,li_SIZEOF
APTR sc_FirstGadget
BYTE sc_DetailPen
BYTE sc_BlockPen
WORD sc_SaveColor0
APTR BarLayer
APTR sc_ExtData
APTR sc_UserData
LABEL sc_SIZEOF
SCREENTYPE equ $000F
WBENCHSCREEN equ $0001
CUSTOMSCREEN equ $000F
SHOWTITLE equ $0010
BEEPING equ $0020
CUSTOMBITMAP equ $0040
STRUCTURE NewScreen,0
WORD ns_LeftEdge
WORD ns_TopEdge
WORD ns_Width
WORD ns_Height
WORD ns_Depth
BYTE ns_DetailPen
BYTE ns_BlockPen
WORD ns_ViewModes
WORD ns_Type
APTR ns_Font
APTR ns_DefaultTitle
APTR ns_Gadgets
APTR ns_CustomBitMap
LABEL ns_SIZEOF
STRUCTURE MN,LN_SIZE
APTR MN_REPLYPORT * message reply port
UWORD MN_LENGTH * message len in bytes
LABEL MN_SIZE
STRUCTURE IO,MN_SIZE
APTR IO_DEVICE * device node pointer
APTR IO_UNIT * unit (driver private)
UWORD IO_COMMAND * device command
UBYTE IO_FLAGS * special flags
BYTE IO_ERROR * error or warning code
LABEL IO_SIZE
ULONG IO_ACTUAL * actual # of bytes transfered
ULONG IO_LENGTH * requested # of bytes transfered
APTR IO_DATA * pointer to data area
ULONG IO_OFFSET * offset for seeking devices
LABEL IOSTD_SIZE
DEFPITCH EQU 110
DEFRATE EQU 150
DEFVOL EQU 64
DEFFREQ EQU 22200
NATURALF0 EQU 0
ROBOTICF0 EQU 1
MALE EQU 0
FEMALE EQU 1
DEFSEX EQU MALE
DEFMODE EQU NATURALF0
MINRATE EQU 40
MAXRATE EQU 400
MINPITCH EQU 65
MAXPITCH EQU 320
MINFREQ EQU 5000
MAXFREQ EQU 28000
MINVOL EQU 0
MAXVOL EQU 64
ND_NotUsed EQU -1
ND_NoMem EQU -2
ND_NoAudLib EQU -3
ND_MakeBad EQU -4
ND_UnitErr EQU -5
ND_CantAlloc EQU -6
ND_Unimpl EQU -7
ND_NoWrite EQU -8
ND_Expunged EQU -9
ND_PhonErr EQU -20
ND_RateErr EQU -21
ND_PitchErr EQU -22
ND_SexErr EQU -23
ND_ModeErr EQU -24
ND_FreqErr EQU -25
ND_VolErr EQU -26
STRUCTURE NDI,IOSTD_SIZE
UWORD NDI_RATE
UWORD NDI_PITCH
UWORD NDI_MODE
UWORD NDI_SEX
APTR NDI_CHMASKS
UWORD NDI_NUMMASKS
UWORD NDI_VOLUME
UWORD NDI_SAMPFREQ
UBYTE NDI_MOUTHS
UBYTE NDI_CHANMASK
UBYTE NDI_NUMCHAN
UBYTE NDI_PAD
LABEL NDI_SIZE
STRUCTURE MRB,NDI_SIZE
UBYTE MRB_WIDTH
UBYTE MRB_HEIGHT
UBYTE MRB_SHAPE
UBYTE MRB_PAD
LABEL MRB_SIZE
ADHARD_CHANNELS EQU 4
ADALLOC_MINPREC EQU -128
ADALLOC_MAXPREC EQU 127
ADCMD_FREE EQU CMD_NONSTD+0
ADCMD_SETPREC EQU CMD_NONSTD+1
ADCMD_FINISH EQU CMD_NONSTD+2
ADCMD_PERVOL EQU CMD_NONSTD+3
ADCMD_LOCK EQU CMD_NONSTD+4
ADCMD_WAITCYCLE EQU CMD_NONSTD+5
ADCMDB_NOUNIT EQU 5
ADCMDF_NOUNIT EQU 1<<5
ADCMD_ALLOCATE EQU ADCMDF_NOUNIT+0
ADIOB_PERVOL EQU 4
ADIOF_PERVOL EQU 1<<4
ADIOB_SYNCCYCLE EQU 5
ADIOF_SYNCCYCLE EQU 1<<5
ADIOB_NOWAIT EQU 6
ADIOF_NOWAIT EQU 1<<6
ADIOB_WRITEMESSAGE EQU 7
ADIOF_WRITEMESSAGE EQU 1<<7
ADIOERR_NOALLOCATION EQU -10
ADIOERR_ALLOCFAILED EQU -11
ADIOERR_CHANNELSTOLEN EQU -12
STRUCTURE IOAudio,IO_SIZE
WORD ioa_AllocKey
APTR ioa_Data
ULONG ioa_Length
UWORD ioa_Period
UWORD ioa_Volume
UWORD ioa_Cycles
STRUCT ioa_WriteMsg,MN_SIZE
LABEL ioa_SIZEOF
STRUCTURE TC,LN_SIZE
UBYTE TC_FLAGS
UBYTE TC_STATE
BYTE TC_IDNESTCNT * intr disabled nesting
BYTE TC_TDNESTCNT * task disabled nesting
ULONG TC_SIGALLOC * sigs allocated
ULONG TC_SIGWAIT * sigs we are waiting for
ULONG TC_SIGRECVD * sigs we have received
ULONG TC_SIGEXCEPT * sigs we take as exceptions
UWORD TC_TRAPALLOC * traps allocated
UWORD TC_TRAPABLE * traps enabled
APTR TC_EXCEPTDATA * data for except proc
APTR TC_EXCEPTCODE * exception procedure
APTR TC_TRAPDATA * data for proc trap proc
APTR TC_TRAPCODE * proc trap procedure
APTR TC_SPREG * stack pointer
APTR TC_SPLOWER * stack lower bound
APTR TC_SPUPPER * stack upper bound + 2
APTR TC_SWITCH * task losing CPU
APTR TC_LAUNCH * task getting CPU
STRUCT TC_MEMENTRY,LH_SIZE * allocated memory
APTR TC_Userdata
LABEL TC_SIZE
BITDEF T,PROCTIME,0
BITDEF T,STACKCHK,4
BITDEF T,EXCEPT,5
BITDEF T,SWITCH,6
BITDEF T,LAUNCH,7
TS_INVALID EQU 0
TS_ADDED EQU TS_INVALID+1
TS_RUN EQU TS_ADDED+1
TS_READY EQU TS_RUN+1
TS_WAIT EQU TS_READY+1
TS_EXCEPT EQU TS_WAIT+1
TS_REMOVED EQU TS_EXCEPT+1
SIGF_ABORT EQU $0001
SIGF_CHILD EQU $0002
SIGF_BLIT EQU $0010
SIGF_DOS EQU $0100
SIGB_ABORT EQU 0
SIGB_CHILD EQU 1
SIGB_BLIT EQU 4
SIGB_DOS EQU 8
SYS_SIGALLOC EQU $0FFFF
SYS_TRAPALLOC EQU $08000
MP_SOFTINT EQU MP_SIGTASK
PF_ACTION EQU 3
PA_SIGNAL EQU 0
PA_SOFTINT EQU 1
PA_IGNORE EQU 2
DEVINIT MACRO * [baseOffset]
IFC '\1',''
CMD_COUNT SET CMD_NONSTD
ENDC
IFNC '\1',''
CMD_COUNT SET \1
ENDC
ENDM
DEVCMD MACRO * cmdname
\1 EQU CMD_COUNT
CMD_COUNT SET CMD_COUNT+1
ENDM
DEVINIT 0
DEVCMD CMD_INVALID * invalid command
DEVCMD CMD_RESET * reset as if just inited
DEVCMD CMD_READ * standard read
DEVCMD CMD_WRITE * standard write
DEVCMD CMD_UPDATE * write out all buffers
DEVCMD CMD_CLEAR * clear all buffers
DEVCMD CMD_STOP * hold current and queued
DEVCMD CMD_START * restart after stop
DEVCMD CMD_FLUSH * abort entire queue
DEVCMD CMD_NONSTD
BPTR MACRO * Long word pointer
LONG \1
ENDM
BSTR MACRO * Long word pointer to BCPL string.
LONG \1
ENDM
STRUCTURE WBStartup,0
STRUCT sm_Message,MN_SIZE
APTR sm_Process
BPTR sm_Segment
LONG sm_NumArgs
APTR sm_ToolWindow
APTR sm_ArgList
LABEL sm_SIZEOF
STRUCTURE WBArg,0
BPTR wa_Lock
APTR wa_Name
LABEL wa_SIZEOF
SHARED_LOCK EQU -2
ACCESS_READ EQU -2
EXCLUSIVE_LOCK EQU -1
ACCESS_WRITE EQU -1
STRUCTURE DateStamp,0
LONG ds_Days
LONG ds_Minute
LONG ds_Tick
LABEL ds_SIZEOF
TICKS_PER_SECOND EQU 50
STRUCTURE FileInfoBlock,0
LONG fib_DiskKey
LONG fib_DirEntryType
STRUCT fib_FileName,108
LONG fib_Protection
LONG fib_EntryType
LONG fib_Size
LONG fib_NumBlocks
STRUCT fib_DateStamp,ds_SIZEOF
STRUCT fib_Comment,116
LABEL fib_SIZEOF
BITDEF FIB,READ,3
BITDEF FIB,WRITE,2
BITDEF FIB,EXECUTE,1
BITDEF FIB,DELETE,0
STRUCTURE InfoData,0
LONG id_NumSoftErrors * number of soft errors on disk
LONG id_UnitNumber * Which unit disk is (was) mounted on
LONG id_DiskState * See defines below
LONG id_NumBlocks * Number of blocks on disk
LONG id_NumBlocksUsed * Number of block in use
LONG id_BytesPerBlock
LONG id_DiskType * Disk Type code
BSTR id_VolumeNode * BCPL pointer to volume name (BCPL stirng)
LONG id_InUse * Flag, zero if not in use
LABEL id_SIZEOF * InfoData
ID_WRITE_PROTECTED EQU 80 * Disk is write protected
ID_VALIDATING EQU 81 * Disk is currently being validated
ID_VALIDATED EQU 82 * Disk is consistent and writeable
ID_NO_DISK_PRESENT EQU -1
ID_UNREADABLE_DISK EQU ('B'<<24)!('A'<<16)!('D'<<8)
ID_NOT_REALLY_DOS EQU ('N'<<24)!('D'<<16)!('O'<<8)!('S')
ID_DOS_DISK EQU ('D'<<24)!('O'<<16)!('S'<<8)
ID_KICKSTART_DISK EQU ('K'<<24)!('I'<<16)!('C'<<8)!('K')
ERROR_NO_FREE_STORE EQU 103
ERROR_OBJECT_IN_USE EQU 202
ERROR_OBJECT_EXISTS EQU 203
ERROR_OBJECT_NOT_FOUND EQU 205
ERROR_ACTION_NOT_KNOWN EQU 209
ERROR_INVALID_COMPONENT_NAME EQU 210
ERROR_INVALID_LOCK EQU 211
ERROR_OBJECT_WRONG_TYPE EQU 212
ERROR_DISK_NOT_VALIDATED EQU 213
ERROR_DISK_WRITE_PROTECTED EQU 214
ERROR_RENAME_ACROSS_DEVICES EQU 215
ERROR_DIRECTORY_NOT_EMPTY EQU 216
ERROR_DEVICE_NOT_MOUNTED EQU 218
ERROR_SEEK_ERROR EQU 219
ERROR_COMMENT_TOO_BIG EQU 220
ERROR_DISK_FULL EQU 221
ERROR_DELETE_PROTECTED EQU 222
ERROR_WRITE_PROTECTED EQU 223
ERROR_READ_PROTECTED EQU 224
ERROR_NOT_A_DOS_DISK EQU 225
ERROR_NO_DISK EQU 226
ERROR_NO_MORE_ENTRIES EQU 232
RETURN_OK EQU 0 * No problems, success
RETURN_WARN EQU 5 * A warning only
RETURN_ERROR EQU 10 * Something wrong
RETURN_FAIL EQU 20 * Complete or severe failure
BITDEF SIGBREAK,CTRL_C,12
BITDEF SIGBREAK,CTRL_D,13
BITDEF SIGBREAK,CTRL_E,14
BITDEF SIGBREAK,CTRL_F,15
STRUCTURE DosPacket,0
APTR dp_Link * pointer to EXEC message
APTR dp_Port * pointer to Reply port for the packet
LONG dp_Type * See ACTION_... below and
LONG dp_Res1 * For file system calls this is the result
LONG dp_Res2 * For file system calls this is what would
LONG dp_Arg1
dp_Action EQU dp_Type
dp_Status EQU dp_Res1
dp_Status2 EQU dp_Res2
dp_BufAddr EQU dp_Arg1
LONG dp_Arg2
LONG dp_Arg3
LONG dp_Arg4
LONG dp_Arg5
LONG dp_Arg6
LONG dp_Arg7
LABEL dp_SIZEOF * DosPacket
STRUCTURE StandardPacket,0
STRUCT sp_Msg,MN_SIZE
STRUCT sp_Pkt,dp_SIZEOF
LABEL sp_SIZEOF * StandardPacket
ACTION_NIL EQU 0
ACTION_GET_BLOCK EQU 2
ACTION_SET_MAP EQU 4
ACTION_DIE EQU 5
ACTION_EVENT EQU 6
ACTION_CURRENT_VOLUME EQU 7
ACTION_LOCATE_OBJECT EQU 8
ACTION_RENAME_DISK EQU 9
ACTION_WRITE EQU 'W'
ACTION_READ EQU 'R'
ACTION_FREE_LOCK EQU 15
ACTION_DELETE_OBJECT EQU 16
ACTION_RENAME_OBJECT EQU 17
ACTION_COPY_DIR EQU 19
ACTION_WAIT_CHAR EQU 20
ACTION_SET_PROTECT EQU 21
ACTION_CREATE_DIR EQU 22
ACTION_EXAMINE_OBJECT EQU 23
ACTION_EXAMINE_NEXT EQU 24
ACTION_DISK_INFO EQU 25
ACTION_INFO EQU 26
ACTION_SET_COMMENT EQU 28
ACTION_PARENT EQU 29
ACTION_TIMER EQU 30
ACTION_INHIBIT EQU 31
ACTION_DISK_TYPE EQU 32
ACTION_DISK_CHANGE EQU 33
STRUCTURE TIMEVAL,0
ULONG TV_SECS
ULONG TV_MICRO
LABEL TV_SIZE
FILENAME_SIZE equ 30
POINTERSIZE equ (1+16+1)*2
STRUCTURE Preferences,0
BYTE pf_FontHeight
UBYTE pf_PrinterPort
USHORT pf_BaudRate
STRUCT pf_KeyRptSpeed,TV_SIZE
STRUCT pf_KeyRptDelay,TV_SIZE
STRUCT pf_DoubleClick,TV_SIZE
STRUCT pf_PointerMatrix,POINTERSIZE*2
BYTE pf_XOffset
BYTE pf_YOffset
WORD pf_color17
WORD pf_color18
WORD pf_color19
WORD pf_PointerTicks
WORD pf_color0
WORD pf_color1
WORD pf_color2
WORD pf_color3
BYTE pf_ViewXOffset
BYTE pf_ViewYOffset
WORD pf_ViewInitX
WORD pf_ViewInitY
BOOL EnableCLI
WORD pf_PrinterType
STRUCT pf_PrinterFilename,FILENAME_SIZE
SHORT pf_PrintPitch
WORD pf_PrintQuality
WORD pf_PrintSpacing
UWORD pf_PrintLeftMargin
UWORD pf_PrintRightMargin
WORD pf_PrintImage
WORD pf_PrintAspect
WORD pf_PrintShade
WORD pf_PrintThreshold
WORD pf_PaperSize
UWORD pf_PaperLength
WORD pf_PaperType
UBYTE pf_SerRWBits
UBYTE pf_SerStopBuf
UBYTE pf_SerParShk
UBYTE pf_LaceWB
STRUCT pf_padding,46
LABEL pf_SIZEOF